import request from '@/config/axios'

export const submitTask = async (data) => {
  return await request.post(
    {
      url: `/biobee/plot/submit-task`,
      data: data
    }
  )
}

export const uploadFile = async (formData) => {
  return request.upload({
      url: "/biobee/plot/upload-file",
      data: formData
    }
  )
}


export const downloadResult = async (params) => {
  return request.download({
      url: "/biobee/plot/download-result",
      params
    }
  )
}


export const downloadExample = async (params) => {
  return request.download({
      url: "/biobee/plot/download-example",
      params
    }
  )
}
